package br.com.veterinariavillage.view.Cliente;

import javax.swing.*;

@SuppressWarnings("serial")
public class FecharTabelaCliente extends JPanel {
	 private JButton btFechar;
	 
    public FecharTabelaCliente() {
        inicializarComponentes();
    }
    
    private void inicializarComponentes() {

        btFechar = new JButton();

        btFechar.setText("Fechar");
        btFechar.setMaximumSize(new java.awt.Dimension(83, 23));
        btFechar.setMinimumSize(new java.awt.Dimension(83, 23));
        btFechar.setPreferredSize(new java.awt.Dimension(83, 23));

        GroupLayout layout = new GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(GroupLayout.Alignment.LEADING)
            .addGroup(GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                .addContainerGap(GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addComponent(btFechar, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)
                .addContainerGap())
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(GroupLayout.Alignment.LEADING)
            .addGroup(GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                .addContainerGap(GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addComponent(btFechar, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)
                .addContainerGap())
        );
    }
}